@import '../../app.less';

.container {
  width: 686rpx;
  height: 168rpx;
  border-radius: 32rpx;
  background: linear-gradient(282deg, #2357f6 -8%, #26bbff 116%);
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin-bottom: 24rpx;
}

.circle {
  width: 128rpx;
  height: 128rpx;
  border-radius: 64rpx;
  background-color: #ffffff;
  margin: 26rpx 60rpx 0 32rpx;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.textBox {
  display: flex;
  flex-direction: column;
  justify-content: center;

  .aiName {
    display: block;
    font-size: 32rpx;
    font-weight: 500;
    max-height: 44rpx;
    line-height: 44rpx;
    color: #ffffff;
    max-width: 300rpx;
    margin-bottom: 6rpx;

    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
  }

  .aiIntroduce {
    display: block;
    font-size: 24rpx;
    color: rgba(255, 255, 255, 0.5);
    max-height: 68rpx;
    line-height: 34rpx;
    max-width: 400rpx;
    margin-bottom: 6rpx;

    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
  }

  .aiCreator:extend(.ellipsis) {
    display: block;
    font-size: 18rpx;
    height: 32rpx;
    line-height: 34rpx;
    max-width: 400rpx;
    background-color: #fff;
    padding: 0 10rpx;
    border-radius: 16rpx;
    width: fit-content;
  }
}

.editIconBox {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
  width: 200rpx;
  height: 96rpx;
  position: absolute;
  top: 0rpx;
  right: 0rpx;
  padding: 20rpx 18rpx 40rpx 30rpx;
}

.editIcon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: auto;
  min-width: 92rpx;
  max-width: 180rpx;
  height: 36rpx;
  border-radius: 18rpx;
  background-color: #ffffff;
  padding: 4rpx 16rpx;
}

.logo {
  width: 128rpx;
  height: 128rpx;
}

.rightArrow {
  position: absolute;
  top: 64rpx;
  right: 32rpx;
  width: 40rpx;
  height: 40rpx;
}

.topper {
  z-index: 9;
}

.editText {
  display: inline-block;
  font-size: 20rpx;
  font-weight: 500;
  height: 28rpx;
  line-height: 28rpx;
  text-align: center;
  max-width: 160rpx;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
}
